# RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s

---
name: invalid_scavenge_fi
machineFunctionInfo:
  # CHECK: [[@LINE+1]]:17: invalid frame index 0
  scavengeFI: '%stack.0'

body:             |
  bb.0:
    S_ENDPGM 0

...
